#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<ctype.h>
#include<string.h>
#include<assert.h>

int Func(int x, int y)
{
	return x = y;
}
void test01()
{
	printf("%d",Func(1, 2));
	//char arr[] = "FanDong0BO666znb";
	//int i = 0;
	//while (arr[i])
	//{
	//	if (islower(arr[i]))
	//	{
	//		arr[i] -= 32;
	//	}
	//	printf("%c", arr[i]);
	//	i++;
	//}
}

void test02()
{
	char m = 'x';
	char n = toupper('i');
	printf("%c\n", n);
}

char* My_Strcpy(char* dest, const char* src)
{
	assert(dest && src);
	char* ret = dest;
	while (*dest++ = *src++)
	{
       ;
	}
	return ret;
}

void test03()
{
	char* ptr = "abcdef";
	char arr[20] = "xxxxxxxxxx" ;
	My_Strcpy(arr, ptr);
	printf("%s", arr);
}

int main()
{
	//test01();
	//test02();
	test03();
	return 0;
}